package cn.iocoder.yudao.module.product.controller.admin.conveniencestore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 商铺新增/修改 Request VO")
@Data
public class ConvenienceStoreSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "名称不能为空")
    private String name;

    @Schema(description = "门头", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "门头不能为空")
    private String[] doorHeaderImage;

    @Schema(description = "类型")
    private String storeType;

    @Schema(description = "省市区")
    private Integer areaId;

    @Schema(description = "联系方式")
    private String tel;

    @Schema(description = "详细地址")
    private String addressDetail;

    @Schema(description = "营业执照")
    private String businessLicence;

    @Schema(description = "审批状态")
    private Integer approveStatus;

    @Schema(description = "审批备注")
    private String approveRemark;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "状态不能为空")
    private Integer status;

    @Schema(description = "是否删除", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "是否删除不能为空")
    private Boolean deleted;

}